package com.ruoyi.omp.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 趋势图数据对象 omp_trend_data
 * 
 * @author cjie
 * @date 2022-11-30
 */
public class TrendData implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 数据编码 */
    private String dataCode;

    /** 排序 */
    @Excel(name = "排序")
    private Integer dataSort;

    /** 标签 */
    @Excel(name = "标签")
    private String dataLabel;

    /** 值 */
    @Excel(name = "值")
    private String dataValue;

    /** 类型 */
    @Excel(name = "类型")
    private String trendType;

    /** 默认值 */
    @Excel(name = "默认值")
    private String defaultValue;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    public void setDataCode(String dataCode) 
    {
        this.dataCode = dataCode;
    }

    public String getDataCode() 
    {
        return dataCode;
    }
    public void setDataSort(Integer dataSort)
    {
        this.dataSort = dataSort;
    }

    public Integer getDataSort()
    {
        return dataSort;
    }
    public void setDataLabel(String dataLabel) 
    {
        this.dataLabel = dataLabel;
    }

    public String getDataLabel() 
    {
        return dataLabel;
    }
    public void setDataValue(String dataValue) 
    {
        this.dataValue = dataValue;
    }

    public String getDataValue() 
    {
        return dataValue;
    }
    public void setTrendType(String trendType) 
    {
        this.trendType = trendType;
    }

    public String getTrendType() 
    {
        return trendType;
    }
    public void setDefaultValue(String defaultValue) 
    {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() 
    {
        return defaultValue;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataCode", getDataCode())
            .append("dataSort", getDataSort())
            .append("dataLabel", getDataLabel())
            .append("dataValue", getDataValue())
            .append("trendType", getTrendType())
            .append("defaultValue", getDefaultValue())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
